enter a document into the files